﻿using Microsoft.AspNetCore.Mvc;
using Abp.AspNetCore.Mvc.Authorization;
using FwProject.Controllers;
using System.Threading.Tasks;
using FwProject.PrePaymentInfo;

namespace FwProject.Web.Controllers
{
    [AbpMvcAuthorize]
    public class HomeController : FwProjectControllerBase
    {
        private readonly IFinanceReportAppService _financeReportAppService;

        public HomeController(IFinanceReportAppService financeReportAppService)
        {
            _financeReportAppService = financeReportAppService;
        }
        public ActionResult Index()
        {
            return View();
        }


        public ActionResult Note()
        {
            
            return View();
        }

        public async Task<IActionResult> PendingTask()
        {
            var model = await _financeReportAppService.GetPendingTaskListAsync();
            return View(model);
        }

    }
}
